 |
 |
 |
 |
#233027 - 01/12/03 10:42 PM
[6.2] Postlist Last Post By for 6.2
|
I type Like navaho
Registered: 11/29/01
Posts: 11330
Loc: Charlotte, NC
|
Mod Name / Version - Postlist Last Post By for 6.2 <br /> <br /> Description - Shows the "Last Post By" information on the postlist page. To save queries, I chose to store the username... so the name won't be accurate if a user has changed their display name. Since this is only stored for the last post, I figured it was worth the savings in queries. <br /> <br /> Pre-requisites - none <br /> <br /> Author - JustDave from www.chattersonline.com original author <br /> Updated for 6.2 by JoshPet of www.joshuapettit.com <br /> <br /> Credits - Allen Ayres for testing of original version <br /> <br /> Files Altered - <br /> postlist.php (threads directory) <br /> postlist.tmpl (threads directory) <br /> addpost.php (threads directory) <br /> doapproveposts.php (admin directory) <br /> viewunapproved.php (admin directory) <br /> deletepost.php (threads directory) <br /> <br /> Database Altered - Yes. 3 fields (B_Last_Number, B_Last_Name, and B_Last_Approved) added to w3t_Posts table. <br /> <br /> New Files - none <br /> <br /> Any other info - JustDave gets a bulk of the credit here, I just adapted for 6.2. <img src="/forum/images/graemlins/wink.gif" alt="" /> <br /> <br /> Last Update: January 19, 2003
Attachments
64714-lastpostby.6.2.zip (128 downloads)
Edited by JustDave (01/19/03 03:51 PM)
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#233056 - 03/12/03 04:54 AM
Re: [6.2] Postlist Last Post By for 6.2
[Re: jacksonm99]
|
Lurker
Registered: 11/14/01
Posts: 8
Loc: Vienna, Austria
|
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#233057 - 06/19/03 07:36 PM
Re: [6.2] Postlist Last Post By for 6.2
[Re: 3109A469]
|
Junior Member
Registered: 05/12/03
Posts: 1109
|
I am wondering if this is conflicting with another mod, I have tried this over and over and can't get it to work and it looks like everyone else is fine so I am not sure what's going on. After my first failure I dropped the tables and started over from scratch (and re-ran the table install script provided in the download) and enabled error logging, here is what I got after my last attempt <br /> Unable to do_query: INSERT INTO w3t_Boards (Bo_Title,Bo_Description,Bo_Keyword,Bo_Total,Bo_Last,Bo_HTML, <br />Bo_Created,Bo_Expire,Bo_Markup, <br />Bo_Cat,Bo_Moderated,Bo_CatName,Bo_Read_Perm,Bo_Write_Perm,Bo_ThreadAge,Bo_Reply_Perm, <br />Bo_SpecialHeader,Bo_StyleSheet,Bo_Posterid,Bo_LastNumber) <br /> <br />This (or most of it) appeared on every page so I just put back the backed up files, any ideas? <br /> <br /> edit: added line breaks
Edited by JoshPet (06/19/03 08:16 PM)
|
|
Top
|
|
|
|
 |
 |
 |
 |
 |
 |
 |
 |
#233059 - 06/19/03 08:12 PM
Re: [6.2] Postlist Last Post By for 6.2
[Re: Daine]
|
Junior Member
Registered: 05/12/03
Posts: 1109
|
The rest of it was related to specific forums that I had, here is the whole thing (sorry) and I did add the database fields per createlastpostfields-6.2.php. After the first didn't take I dropped the tables and added it again, then re-modded all the pages from scratch <br /> <br /> Unable to do_query: INSERT INTO w3t_Boards (Bo_Title,Bo_Description,Bo_Keyword,Bo_Total,Bo_Last, <br />Bo_HTML,Bo_Created,Bo_Expire,Bo_Markup,Bo_Cat,Bo_Moderated,Bo_CatName,Bo_Read_Perm, <br />Bo_Write_Perm,Bo_ThreadAge,Bo_Reply_Perm,Bo_SpecialHeader,Bo_StyleSheet,Bo_Posterid,Bo_LastNumber) <br />VALUES ('Bootleg Trading', 'Want to swap boots? Come on in. Please no uploading in <br />this forum.', 'bootlegs','0','0','Off','1055220294','0','On','1','no','Music Files', <br />'-1-2-3-4-5-','-1-2-3-5-','0','-1-2-3-5-','0','usedefault','','') - <br />Duplicate entry 'bootlegs' for key 2 <br /> <br /> edit added line breaks because none of us have a 10 foot wide monitor <img src="/forum/images/graemlins/wink.gif" alt="" />
Edited by JoshPet (06/19/03 08:17 PM)
|
|
Top
|
|
|
|
 |
 |
 |
 |
|
|